package com.ruoyi.durian.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.durian.domain.TPay;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author Lenovo
* @description 针对表【t_pay(支付交易表)】的数据库操作Service
* @createDate 2024-08-06 16:07:11
*/
public interface TPayService extends IService<TPay> {

    /**
     * 支付宝支付
     * @param orderNo
     * @return
     * @throws java.io.IOException
     */
    String submitAlipay(String orderNo);

    /**
     * 支付宝回调
     * @param paramsMap
     * @return
     */
    AjaxResult callback(Map<String, String> paramsMap);
}
